import { Http,Util } from '@/utils';
import ActionServiceBase from './action-service-base';


/**
 * 系统日志服务对象
 *
 * @export
 * @class ActionService
 * @extends {ActionServiceBase}
 */
export default class ActionService extends ActionServiceBase {

    /**
     * Creates an instance of  ActionService.
     * 
     * @param {*} [opts={}]
     * @memberof  ActionService
     */
    constructor(opts: any = {}) {
        super(opts);
    }

    /**
     * searchActionByTask接口方法
     * @param url
     * @param data
     * @param isloading
     */
    async searchActionByTask(url:string,data: any = {}, isloading?: boolean): Promise<any> {
        let res:any = await Http.getInstance().post(url, data, isloading);
        return res;
    }


}